Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.diff.content.restAPI.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.diff.content.restAPI.contrib">

  <extension
    target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
    point="restlets">

    <documentation>
      GET
      /nuxeo/restAPI/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}?conversionType=(conversionType)&amp;locale={locale}
    </documentation>

    <restletPlugin name="contentDiff"
      class="org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet"
      enabled="true" useSeam="true">
      <urlPatterns>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/
        </urlPattern>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}
        </urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>

</component>